<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <p id="name">
      了解vue源码，从0到1实现自己的mvvm框架
    </p>
  </div>
  
  <script type="module">
    import KVue from './kvue.js'
    const app = new KVue({
      data: {
        test: 'I am test',
        foo: {
          bar: 'bar'
        }
      }
    })

    app.$data.test = 'hello, kaikeba';
    app.$data.foo.bar = 'oh, my bar';
    
  </script>
</body>
</html>
